﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {           
            Function p2 = new Function("小志", 20,"女");
            Console.Write("调用有参函数：");
            p2.ShowPersonMsg();
            Console.ReadKey();
        }
    }
}
